package com.oscar.ehome.view.loginview.view;

import com.oscar.ehome.bean.loginbean.CodeBean;
import com.oscar.ehome.bean.loginbean.UserBean;
import com.oscar.ehome.bean.loginbean.idcardbean.IdBean;
import com.oscar.ehome.bean.loginbean.idcardbean.IdCardBean;
import com.oscar.ehome.bean.loginbean.idcardbean.MessageBean;
import com.oscar.ehome.bean.loginbean.logincompanyBean;
import com.oscar.ehome.bean.pagebean.DiaoChaInfo;
import com.oscar.ehome.bean.pagebean.StudyDetialBean;

/**
 * Created by oscar on 2017/6/21.
 * 登录接口
 */

public interface LoginView {

    /**
     * 登录成功
     */
    void navigateToHome(UserBean result);
    void getDiaocharesult(DiaoChaInfo result);
    void getbaojianjufile(StudyDetialBean result);
    /**
     * 验证码
     * @param result
     */
    void code(logincompanyBean result);

    /**
     * 客服电话
     * @param result
     */
    void phoneNumber(CodeBean result);

    /**
     * 请求失败
     */
    void erroy();

    /**
     * 失败处理
     * @param result
     */
    void erry(String result);

}
